<!DOCTYPE html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html class="no-js" lang="en" >
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">        
        <title><? echo Param::get('title'); echo Param::get('description');?></title>
        <link rel="stylesheet" href="../../plugins/foundation/css/normalize.css">
        <link rel="stylesheet" href="../../plugins/foundation/css/foundation.css">                
        <script src="../../webroot/js/jquery-1.10.2.min.js"></script>
        <script src="../../plugins/foundation/js/vendor/custom.modernizr.js"></script>
    </head>
    <body>
		<script>
			(function(i, s, o, g, r, a, m) {
				i['GoogleAnalyticsObject'] = r;
				i[r] = i[r] || function() {
					(i[r].q = i[r].q || []).push(arguments);
				}, i[r].l = 1 * new Date();
				a = s.createElement(o),
						m = s.getElementsByTagName(o)[0];
				a.async = 1;
				a.src = g;
				m.parentNode.insertBefore(a, m);
			})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
			ga('create', 'UA-36382746-1', 'ilines.com.br');
			ga('send', 'pageview');
		</script>
        <div class="row">
            <div class="columns large-2">
                <img src="../../webroot/img/logo.png" style="height: 100px;"/>
            </div>
            <div class="columns large-10">
                <h1 style="color: red;">Sweet PHP - Framework Brazil</h1>
            </div>
        </div>
        <div class="row" style="margin-top: 15px; border-top: 1px solid gray">
            <div class="columns large-12">
                <ul>
                    <li><a href="<?=Helpers::baseUrl('welcome');?>">Inicio</a></li>
                    <li>Desenvolva suas aplicações;</li>
                    <li>Produção otimizada;</li>
                    <li>Colabore;</li>
                </ul>
            </div>
        </div>
        <div class="row" style="margin-top: 15px; border-top: 1px solid red">
            <div class="columns large-12">
                <h3>Inicie seu formulário aqui</h3>
                <form class="sweetForm" name="Welcome">
                    <input type="text" name="User[login]" placeholder="Escreva algo aqui" value="<? echo Param::get('user')->login; ?>"/>
                    <input type="submit" name="action" data-action="contact" value="Contato" data-return=".returnAjax" data-update="idCliqueAqui" data-listener="{'request':'Welcome','action':'listener'}" />
                    <input type="submit" name="action" data-action="redirect" value="Página" />
                </form>
                <span class="returnAjax" style="color: red;">Seu retorno do ajax aqui!</span>
                <br />
                <br />
                <input type="submit" name="action" value="Clique aqui 1!!!" id="idCliqueAqui"/>
                <br />
                <br />
                <input class="sweetClick" type="submit" name="action" value="Página 2" data-config="{'request':'Welcome','dataAction':'getpage2'}"/>
            </div>
        </div>
        <script src="../../plugins/foundation/js/foundation.min.js"></script>
        <script>
            $(document).foundation();
        </script>        
    </body>
</html>